package com.ruoyi.bl.domain;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 bl_suppliers
 *
 * @author ruoyi
 * @date 2024-11-17
 */
public class BlSuppliers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌 */
    @Excel(name = "商户名称", targetAttr = "companyName", type = Excel.Type.EXPORT)
    private SysDept sysDept;

    /** 供应商ID */
    private Long supplierId;

    /** 部门ID */
    private Long deptId;

    /** 父部门id */
    @Excel(name = "父部门id")
    private Long parentId;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 供应品牌id */
    @Excel(name = "供应品牌id")
    private Long brandId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String suppliersName;

    /** 供应商描述 */
    @Excel(name = "供应商描述")
    private String suppliersDesc;

    /** 供应商状态 */
    @Excel(name = "供应商状态")
    private Integer isCheck;

    /** 供应商联系人 */
    @Excel(name = "供应商联系人")
    private String suppliersContacts;

    /** 供应商电话 */
    @Excel(name = "供应商电话")
    private String suppliersPhone;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAct;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessLicense;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String deptAddress;

    /** 优先等级 */
    @Excel(name = "优先等级")
    private Integer sort;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 经纬度 */
    @Excel(name = "经纬度")
    private String lonlat;

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public void setSupplierId(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId()
    {
        return supplierId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }
    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setSuppliersName(String suppliersName)
    {
        this.suppliersName = suppliersName;
    }

    public String getSuppliersName()
    {
        return suppliersName;
    }
    public void setSuppliersDesc(String suppliersDesc)
    {
        this.suppliersDesc = suppliersDesc;
    }

    public String getSuppliersDesc()
    {
        return suppliersDesc;
    }
    public void setIsCheck(Integer isCheck)
    {
        this.isCheck = isCheck;
    }

    public Integer getIsCheck()
    {
        return isCheck;
    }
    public void setSuppliersContacts(String suppliersContacts)
    {
        this.suppliersContacts = suppliersContacts;
    }

    public String getSuppliersContacts()
    {
        return suppliersContacts;
    }
    public void setSuppliersPhone(String suppliersPhone)
    {
        this.suppliersPhone = suppliersPhone;
    }

    public String getSuppliersPhone()
    {
        return suppliersPhone;
    }
    public void setBankAct(String bankAct)
    {
        this.bankAct = bankAct;
    }

    public String getBankAct()
    {
        return bankAct;
    }
    public void setBusinessLicense(String businessLicense)
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense()
    {
        return businessLicense;
    }
    public void setDeptAddress(String deptAddress)
    {
        this.deptAddress = deptAddress;
    }

    public String getDeptAddress()
    {
        return deptAddress;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setLonlat(String lonlat)
    {
        this.lonlat = lonlat;
    }

    public String getLonlat()
    {
        return lonlat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("supplierId", getSupplierId())
                .append("deptId", getDeptId())
                .append("parentId", getParentId())
                .append("ancestors", getAncestors())
                .append("brandId", getBrandId())
                .append("suppliersName", getSuppliersName())
                .append("suppliersDesc", getSuppliersDesc())
                .append("isCheck", getIsCheck())
                .append("suppliersContacts", getSuppliersContacts())
                .append("suppliersPhone", getSuppliersPhone())
                .append("bankAct", getBankAct())
                .append("businessLicense", getBusinessLicense())
                .append("deptAddress", getDeptAddress())
                .append("sort", getSort())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("lonlat", getLonlat())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
